package net.maku.events.convert;

import net.maku.events.entity.UserSnapshotEntity;
import net.maku.events.vo.UserSnapshotVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 用户随手拍作品
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface UserSnapshotConvert {
    UserSnapshotConvert INSTANCE = Mappers.getMapper(UserSnapshotConvert.class);

    UserSnapshotEntity convert(UserSnapshotVO vo);

    UserSnapshotVO convert(UserSnapshotEntity entity);

    List<UserSnapshotVO> convertList(List<UserSnapshotEntity> list);

}